﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Item.Master" AutoEventWireup="true"
    CodeBehind="ModuleItem.aspx.cs" Inherits="SGDemo.Permission.ModuleItem" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpHeader" runat="server">
    <script src="ModuleItem.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpBody" runat="server">
   <div class="ui-menu">
        <uc:Menu ID="menu1" runat="server" DataFile="../Views/Permission/Menu/ModuleItem.xml"
            PageCode="ModuleItem" />
    </div>
    <div class="ui-wrapper">
        <div class="ui-hidden">
            <dx:ASPxLabel ID="lblKeyid" ClientInstanceName="lblKeyid" runat="server" />
        </div>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblModuleName" runat="server" Text="模块名称：" ForeColor="Red" AssociatedControlID="txtModuleName" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtModuleName" ClientInstanceName="txtModuleName" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="模块名称必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblModuleCode" runat="server" Text="模块编码：" ForeColor="Red" AssociatedControlID="txtModuleCode" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtModuleCode" ClientInstanceName="txtModuleCode" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="模块编码必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblModuleNameEn" runat="server" Text="模块英文名称：" AssociatedControlID="txtModuleNameEn" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtModuleNameEn" ClientInstanceName="txtModuleNameEn" runat="server"
                    Width="120px">
                </dx:ASPxTextBox>
            </li>
             <li>
                <dx:ASPxLabel ID="lblOrder" runat="server" Text="排序：" AssociatedControlID="txtOrder" />
            </li>
            <li>
                  <dx:ASPxSpinEdit ID="seOrder" ClientInstanceName="seOrder" runat="server" Number="0"
                        MaxLength="11" Width="120">
                        <SpinButtons ShowIncrementButtons="False" ShowLargeIncrementButtons="False" />
                    </dx:ASPxSpinEdit>
            </li>
        </ul>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblImageUrl" runat="server" Text="图片地址：" AssociatedControlID="txtImageUrl" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtImageUrl" ClientInstanceName="txtImageUrl" runat="server"
                    Width="340px">
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblNavigateUrl" runat="server" Text="导航代码：" AssociatedControlID="txtNavigateUrl" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtNavigateUrl" ClientInstanceName="txtNavigateUrl" runat="server"
                    Width="340px">
                </dx:ASPxTextBox>
            </li>
        </ul>
        <ul class="ui-list ">
            <li>
                <dx:ASPxLabel ID="lblRemark" runat="server" Text="描述：" AssociatedControlID="txtRemark" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtRemark" ClientInstanceName="txtRemark" runat="server" Width="780px" Height="200px">
                </dx:ASPxTextBox>
            </li>
        </ul>
        <div class="ui-validation">
            <dx:ASPxValidationSummary ID="vsSummary" runat="server" RenderMode="BulletedList"
                Width="100%" ClientInstanceName="validationSummary" ShowErrorsInEditors="false"
                ShowErrorAsLink="true">
            </dx:ASPxValidationSummary>
        </div>
         <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforadd">
          <li class="sl-floatcenter-item" style="padding-top:20px">
              <div >
             <table>
               <tr>
                  <td>
                   <dx:ASPxButton ID="btnSaveToAdd" ClientInstanceName="btnSaveToAdd" runat="server"
                    Text="保 存" AutoPostBack="false">
                        <ClientSideEvents Click="doSaveForAdd" />
                </dx:ASPxButton>
                  </td>
                   <td style="width:20px"></td>
                  <td>
                   <dx:ASPxButton ID="btnSaveAndContinueToAdd" ClientInstanceName="btnSaveAndContinueToAdd"
                    runat="server" Text="保存完继续新增" AutoPostBack="false">
                      <ClientSideEvents Click="doSaveAndContinueToAdd" />
                </dx:ASPxButton>
                  </td>
                  <td style="width:20px"></td>
                  <td>
                     <dx:ASPxButton ID="btnResetForAdd" ClientInstanceName="btnResetForAdd" runat="server"
                    Text="重 置" AutoPostBack="false">
                         <ClientSideEvents Click="doResetForAdd" />
                </dx:ASPxButton>
                  </td>
               </tr>
             </table>
          </div>
          
          </li>
        </ul>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforedit">
         <li class="sl-floatcenter-item" style="padding-top:20px">
              <div >
             <table>
               <tr>
                  <td>
                     <dx:ASPxButton ID="btnSaveToEdit" ClientInstanceName="btnSaveToEdit" runat="server"
               Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForEdit" />
                </dx:ASPxButton>
                  </td>
                   <td style="width:20px"></td>
                  <td>
                    <dx:ASPxButton ID="btnCancelForEdit" ClientInstanceName="btnCancelForEdit" runat="server"
                    Text="取 消" AutoPostBack="false">
                     <ClientSideEvents Click="doCancelForEdit" />
                </dx:ASPxButton>
                  </td>
               </tr>
             </table>
          </div>
          
          </li>
        </ul>
    </div>
    <div class="ui-state">
        <ul>
            <li>创建人： </li>
            <li>
                <dx:ASPxLabel ID="lblCreateName" ClientInstanceName="lblCreateName" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>创建日期： </li>
            <li>
                <dx:ASPxLabel ID="lblCreateDate" ClientInstanceName="lblCreateDate" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>编辑人： </li>
            <li>
                <dx:ASPxLabel ID="lblModifyName" ClientInstanceName="lblModifyName" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>编辑日期： </li>
            <li>
                <dx:ASPxLabel ID="lblModifyDate" ClientInstanceName="lblModifyDate" runat="server" />
            </li>
        </ul>
    </div>
</asp:Content>
